class Employee:
    count = 0

    def __init__(self, name):
        self.name = name
        Employee.count += 1


a = Employee("aEmp")
b = Employee("bEmp")
print("共实例化了{}个对象".format(Employee.count))
